home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Misc Servers / Zope.exe / CATALOGSTATUS.DTML < prev    next >
Encoding:
Text File  |  2000-07-19  |  2.4 KB  |  76 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  2. <HTML lang="en">
  3.   <HEAD>
  4.     <TITLE>View Catalog Records</TITLE>
  5.   </HEAD>
  6.   <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
  7.     <dtml-var manage_tabs>
  8.  
  9.     <p> Subtransactions allow Zope to commit small parts of a
  10.       transaction over a period of time instead of all at once.  For
  11.       ZCatalog, this means using subtransactions can signficantly
  12.       reduce the memory requirements needed to index huge amounts of
  13.       text all at once.</p>
  14.     
  15.     <p> If enabled, subtransactions will reduce the memory
  16.       requirements of ZCatalog, but <em>at the expense of speed</em>.
  17.       If you choose to enable subtransactions, you can adjust how often
  18.       ZCatalog commits a subtransactions by adjusting the
  19.       <b>threshold</b> below.</p>
  20.  
  21.     <p> If you are using ZCatalog and ZSQL Methods in the same
  22.       transaction, you <b>must</b> disable subtransactions, they are not
  23.       compatible with ZSQL Methods.</p>
  24.  
  25.     <h3>Subtransactions are 
  26.       <dtml-if threshold>
  27.     <font color="green"><b>Enabled</b></font>
  28.       <dtml-else>
  29.     <font color="red"><b>Disabled</b></font>
  30.       </dtml-if></h3>
  31.  
  32.     <form action="." method=POST>
  33.       <dtml-if threshold>
  34.     <input type=submit name="manage_subbingToggle:method"
  35.     value="Disable"> Subtransactions
  36.       <dtml-else>
  37.     <input type=submit name="manage_subbingToggle:method"
  38.     value="Enable"> Subtransactions
  39.       </dtml-if>
  40.     </form>
  41.  
  42.     <form action="manage_edit" method=POST>
  43.     <dtml-if threshold>
  44.  
  45.     <p>The Subtransaction threshold is the number of words the catalog
  46.       will index before it commits a subtransaction.  If this number
  47.       is low, the Catalog will take longer to index but consume less
  48.       memory.  If this number is higher, the Catalog will index
  49.       quickly but consume much more memory.</p>
  50.  
  51.       Subtransaction threshold: <input name="threshold:int" value="<dtml-var
  52.       threshold html_quote>"><br> <input type=submit value=" Change ">
  53.  
  54.     </dtml-if>
  55.     </form>
  56.  
  57.     <hr width=75%>
  58.     <h3>Index Status</h3>
  59.  
  60.     <ul>
  61.       <dtml-in index_objects sort=id>
  62.       <li>
  63.     <dtml-var "_.len(_['sequence-item'])"> 
  64.     object are indexed in <b><dtml-var "_['sequence-item'].id"></b>
  65.       </li>
  66.       </dtml-in>
  67.     </ul>
  68.   </BODY>
  69. </HTML>
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.